package my.test.flyweight;

/**
 * @Author 许玉康
 * @Date 2019-11-1 10:33
 * 带对象池的报考信息
 */
public class SignInfo4Pool extends SignInfo{
    //定义一个对象池提取的KEY值
    private String key;
    //构造函数获取相同的标志

    public SignInfo4Pool(String key) {
        this.key = key;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }
}
